﻿using System.Drawing;
using System.Windows.Forms;

namespace UCL.Forms.Components
{
    /// <summary>
    /// 取消按钮
    /// </summary>
    /// <remarks>2014-4-24 by sutroon</remarks>
    [ToolboxBitmap(typeof(Button))]
    public class CancelButton : Button
    {
        protected override void OnInvalidated(InvalidateEventArgs e)
        {
            base.OnInvalidated(e);
            Text = "取消(&C)";
        }
    }
}
